package com.qianxing.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.qianxing.dto.MessageReviewDTO;
import com.qianxing.exceptionhandler.ResponseException;
import com.qianxing.po.TbMsgReviewPO;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * @author JasonLong
 * @description 针对表【tb_msg_review(推文评论数据表)】的数据库操作Service
 * @createDate 2023-09-15 00:28:02
 */
public interface TbMsgReviewService extends IService<TbMsgReviewPO> {

    ResponseException saveReview(MessageReviewDTO reviewDTO);

    ResponseException getReviewByMsgId(String msgId, String token) throws JsonProcessingException;

}
